package com.fable.sp.core.widget;

import java.io.OutputStream;
import java.io.PrintWriter;

/**
 * .
 *
 * @author stormning on 16/8/8.
 */
public interface RenderResponse extends WidgetResponse {

    PrintWriter getWriter() throws java.io.IOException;

    int getBufferSize();

    void setBufferSize(int size);

    void flushBuffer() throws java.io.IOException;

    void resetBuffer();

    boolean isCommitted();

    void reset();

    OutputStream getOutputStream() throws java.io.IOException;

}
